/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.region.mapper;

import com.lap.auth.adapter.driving.persistence.region.po.RegionPo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegionMapper {

  void insert(RegionPo regionPo);

  void insertBatch(List<RegionPo> list);

  int deleteByPrimaryKey(Integer id);

  int deleteByIds(List<Integer> ids);

  RegionPo selectByPrimaryKey(Integer id);

  List<RegionPo> selectByPid(Integer parentId);

  List<RegionPo> selectByIds(List<Integer> regionIds);

  List<RegionPo> selectAll();

  int updateByPrimaryKey(RegionPo regionPo);
}
